package consts

const (
	Version                  = "v1.0.0"             // 当前服务版本(用于模板展示)
	CaptchaDefaultName       = "CaptchaDefaultName" // 验证码默认存储空间名称
	ContextKey               = "ContextKey"         // 上下文变量存储键名，前后端系统共享
	FileMaxUploadCountMinute = 10                   // 同一用户1分钟之内最大上传数量
)

type CfgGitlabType string

const (
	CfgGitlabNormal CfgGitlabType = "gitlab"
	CfgGitlabPlus   CfgGitlabType = "gitlabPlus"
)

func (g CfgGitlabType) String() string {
	return string(g)
}

type CfgKubeType string

const (
	CfgKubeNormal CfgKubeType = "kubeApi"
	CfgKubePlus   CfgKubeType = "kubeApiPlus"
)

func (k CfgKubeType) String() string {
	return string(k)
}

type GitCloudTagType string

const (
	GitCloudNormal GitCloudTagType = "normal"
	GitCloudPlus   GitCloudTagType = "plus"
)

func (g GitCloudTagType) String() string {
	return string(g)
}
